package com.vivo.customer.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CustomerDecorationMapHistoryExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CustomerDecorationMapHistoryExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andFkroomIdIsNull() {
            addCriterion("fkRoom_Id is null");
            return (Criteria) this;
        }

        public Criteria andFkroomIdIsNotNull() {
            addCriterion("fkRoom_Id is not null");
            return (Criteria) this;
        }

        public Criteria andFkroomIdEqualTo(String value) {
            addCriterion("fkRoom_Id =", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdNotEqualTo(String value) {
            addCriterion("fkRoom_Id <>", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdGreaterThan(String value) {
            addCriterion("fkRoom_Id >", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdGreaterThanOrEqualTo(String value) {
            addCriterion("fkRoom_Id >=", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdLessThan(String value) {
            addCriterion("fkRoom_Id <", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdLessThanOrEqualTo(String value) {
            addCriterion("fkRoom_Id <=", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdLike(String value) {
            addCriterion("fkRoom_Id like", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdNotLike(String value) {
            addCriterion("fkRoom_Id not like", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdIn(List<String> values) {
            addCriterion("fkRoom_Id in", values, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdNotIn(List<String> values) {
            addCriterion("fkRoom_Id not in", values, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdBetween(String value1, String value2) {
            addCriterion("fkRoom_Id between", value1, value2, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdNotBetween(String value1, String value2) {
            addCriterion("fkRoom_Id not between", value1, value2, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdIsNull() {
            addCriterion("fkCustomer_Id is null");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdIsNotNull() {
            addCriterion("fkCustomer_Id is not null");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdEqualTo(String value) {
            addCriterion("fkCustomer_Id =", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdNotEqualTo(String value) {
            addCriterion("fkCustomer_Id <>", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdGreaterThan(String value) {
            addCriterion("fkCustomer_Id >", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdGreaterThanOrEqualTo(String value) {
            addCriterion("fkCustomer_Id >=", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdLessThan(String value) {
            addCriterion("fkCustomer_Id <", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdLessThanOrEqualTo(String value) {
            addCriterion("fkCustomer_Id <=", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdLike(String value) {
            addCriterion("fkCustomer_Id like", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdNotLike(String value) {
            addCriterion("fkCustomer_Id not like", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdIn(List<String> values) {
            addCriterion("fkCustomer_Id in", values, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdNotIn(List<String> values) {
            addCriterion("fkCustomer_Id not in", values, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdBetween(String value1, String value2) {
            addCriterion("fkCustomer_Id between", value1, value2, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdNotBetween(String value1, String value2) {
            addCriterion("fkCustomer_Id not between", value1, value2, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andDataidIsNull() {
            addCriterion("dataId is null");
            return (Criteria) this;
        }

        public Criteria andDataidIsNotNull() {
            addCriterion("dataId is not null");
            return (Criteria) this;
        }

        public Criteria andDataidEqualTo(String value) {
            addCriterion("dataId =", value, "dataid");
            return (Criteria) this;
        }

        public Criteria andDataidNotEqualTo(String value) {
            addCriterion("dataId <>", value, "dataid");
            return (Criteria) this;
        }

        public Criteria andDataidGreaterThan(String value) {
            addCriterion("dataId >", value, "dataid");
            return (Criteria) this;
        }

        public Criteria andDataidGreaterThanOrEqualTo(String value) {
            addCriterion("dataId >=", value, "dataid");
            return (Criteria) this;
        }

        public Criteria andDataidLessThan(String value) {
            addCriterion("dataId <", value, "dataid");
            return (Criteria) this;
        }

        public Criteria andDataidLessThanOrEqualTo(String value) {
            addCriterion("dataId <=", value, "dataid");
            return (Criteria) this;
        }

        public Criteria andDataidLike(String value) {
            addCriterion("dataId like", value, "dataid");
            return (Criteria) this;
        }

        public Criteria andDataidNotLike(String value) {
            addCriterion("dataId not like", value, "dataid");
            return (Criteria) this;
        }

        public Criteria andDataidIn(List<String> values) {
            addCriterion("dataId in", values, "dataid");
            return (Criteria) this;
        }

        public Criteria andDataidNotIn(List<String> values) {
            addCriterion("dataId not in", values, "dataid");
            return (Criteria) this;
        }

        public Criteria andDataidBetween(String value1, String value2) {
            addCriterion("dataId between", value1, value2, "dataid");
            return (Criteria) this;
        }

        public Criteria andDataidNotBetween(String value1, String value2) {
            addCriterion("dataId not between", value1, value2, "dataid");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andLastmodifTimeIsNull() {
            addCriterion("lastModif_time is null");
            return (Criteria) this;
        }

        public Criteria andLastmodifTimeIsNotNull() {
            addCriterion("lastModif_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastmodifTimeEqualTo(Date value) {
            addCriterion("lastModif_time =", value, "lastmodifTime");
            return (Criteria) this;
        }

        public Criteria andLastmodifTimeNotEqualTo(Date value) {
            addCriterion("lastModif_time <>", value, "lastmodifTime");
            return (Criteria) this;
        }

        public Criteria andLastmodifTimeGreaterThan(Date value) {
            addCriterion("lastModif_time >", value, "lastmodifTime");
            return (Criteria) this;
        }

        public Criteria andLastmodifTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("lastModif_time >=", value, "lastmodifTime");
            return (Criteria) this;
        }

        public Criteria andLastmodifTimeLessThan(Date value) {
            addCriterion("lastModif_time <", value, "lastmodifTime");
            return (Criteria) this;
        }

        public Criteria andLastmodifTimeLessThanOrEqualTo(Date value) {
            addCriterion("lastModif_time <=", value, "lastmodifTime");
            return (Criteria) this;
        }

        public Criteria andLastmodifTimeIn(List<Date> values) {
            addCriterion("lastModif_time in", values, "lastmodifTime");
            return (Criteria) this;
        }

        public Criteria andLastmodifTimeNotIn(List<Date> values) {
            addCriterion("lastModif_time not in", values, "lastmodifTime");
            return (Criteria) this;
        }

        public Criteria andLastmodifTimeBetween(Date value1, Date value2) {
            addCriterion("lastModif_time between", value1, value2, "lastmodifTime");
            return (Criteria) this;
        }

        public Criteria andLastmodifTimeNotBetween(Date value1, Date value2) {
            addCriterion("lastModif_time not between", value1, value2, "lastmodifTime");
            return (Criteria) this;
        }

        public Criteria andAdduserIsNull() {
            addCriterion("addUser is null");
            return (Criteria) this;
        }

        public Criteria andAdduserIsNotNull() {
            addCriterion("addUser is not null");
            return (Criteria) this;
        }

        public Criteria andAdduserEqualTo(String value) {
            addCriterion("addUser =", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserNotEqualTo(String value) {
            addCriterion("addUser <>", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserGreaterThan(String value) {
            addCriterion("addUser >", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserGreaterThanOrEqualTo(String value) {
            addCriterion("addUser >=", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserLessThan(String value) {
            addCriterion("addUser <", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserLessThanOrEqualTo(String value) {
            addCriterion("addUser <=", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserLike(String value) {
            addCriterion("addUser like", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserNotLike(String value) {
            addCriterion("addUser not like", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserIn(List<String> values) {
            addCriterion("addUser in", values, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserNotIn(List<String> values) {
            addCriterion("addUser not in", values, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserBetween(String value1, String value2) {
            addCriterion("addUser between", value1, value2, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserNotBetween(String value1, String value2) {
            addCriterion("addUser not between", value1, value2, "adduser");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andHIdIsNull() {
            addCriterion("h_id is null");
            return (Criteria) this;
        }

        public Criteria andHIdIsNotNull() {
            addCriterion("h_id is not null");
            return (Criteria) this;
        }

        public Criteria andHIdEqualTo(String value) {
            addCriterion("h_id =", value, "hId");
            return (Criteria) this;
        }

        public Criteria andHIdNotEqualTo(String value) {
            addCriterion("h_id <>", value, "hId");
            return (Criteria) this;
        }

        public Criteria andHIdGreaterThan(String value) {
            addCriterion("h_id >", value, "hId");
            return (Criteria) this;
        }

        public Criteria andHIdGreaterThanOrEqualTo(String value) {
            addCriterion("h_id >=", value, "hId");
            return (Criteria) this;
        }

        public Criteria andHIdLessThan(String value) {
            addCriterion("h_id <", value, "hId");
            return (Criteria) this;
        }

        public Criteria andHIdLessThanOrEqualTo(String value) {
            addCriterion("h_id <=", value, "hId");
            return (Criteria) this;
        }

        public Criteria andHIdLike(String value) {
            addCriterion("h_id like", value, "hId");
            return (Criteria) this;
        }

        public Criteria andHIdNotLike(String value) {
            addCriterion("h_id not like", value, "hId");
            return (Criteria) this;
        }

        public Criteria andHIdIn(List<String> values) {
            addCriterion("h_id in", values, "hId");
            return (Criteria) this;
        }

        public Criteria andHIdNotIn(List<String> values) {
            addCriterion("h_id not in", values, "hId");
            return (Criteria) this;
        }

        public Criteria andHIdBetween(String value1, String value2) {
            addCriterion("h_id between", value1, value2, "hId");
            return (Criteria) this;
        }

        public Criteria andHIdNotBetween(String value1, String value2) {
            addCriterion("h_id not between", value1, value2, "hId");
            return (Criteria) this;
        }

        public Criteria andHCreateDateIsNull() {
            addCriterion("h_create_date is null");
            return (Criteria) this;
        }

        public Criteria andHCreateDateIsNotNull() {
            addCriterion("h_create_date is not null");
            return (Criteria) this;
        }

        public Criteria andHCreateDateEqualTo(Date value) {
            addCriterion("h_create_date =", value, "hCreateDate");
            return (Criteria) this;
        }

        public Criteria andHCreateDateNotEqualTo(Date value) {
            addCriterion("h_create_date <>", value, "hCreateDate");
            return (Criteria) this;
        }

        public Criteria andHCreateDateGreaterThan(Date value) {
            addCriterion("h_create_date >", value, "hCreateDate");
            return (Criteria) this;
        }

        public Criteria andHCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("h_create_date >=", value, "hCreateDate");
            return (Criteria) this;
        }

        public Criteria andHCreateDateLessThan(Date value) {
            addCriterion("h_create_date <", value, "hCreateDate");
            return (Criteria) this;
        }

        public Criteria andHCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("h_create_date <=", value, "hCreateDate");
            return (Criteria) this;
        }

        public Criteria andHCreateDateIn(List<Date> values) {
            addCriterion("h_create_date in", values, "hCreateDate");
            return (Criteria) this;
        }

        public Criteria andHCreateDateNotIn(List<Date> values) {
            addCriterion("h_create_date not in", values, "hCreateDate");
            return (Criteria) this;
        }

        public Criteria andHCreateDateBetween(Date value1, Date value2) {
            addCriterion("h_create_date between", value1, value2, "hCreateDate");
            return (Criteria) this;
        }

        public Criteria andHCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("h_create_date not between", value1, value2, "hCreateDate");
            return (Criteria) this;
        }

        public Criteria andHAddUserIsNull() {
            addCriterion("h_Add_user is null");
            return (Criteria) this;
        }

        public Criteria andHAddUserIsNotNull() {
            addCriterion("h_Add_user is not null");
            return (Criteria) this;
        }

        public Criteria andHAddUserEqualTo(String value) {
            addCriterion("h_Add_user =", value, "hAddUser");
            return (Criteria) this;
        }

        public Criteria andHAddUserNotEqualTo(String value) {
            addCriterion("h_Add_user <>", value, "hAddUser");
            return (Criteria) this;
        }

        public Criteria andHAddUserGreaterThan(String value) {
            addCriterion("h_Add_user >", value, "hAddUser");
            return (Criteria) this;
        }

        public Criteria andHAddUserGreaterThanOrEqualTo(String value) {
            addCriterion("h_Add_user >=", value, "hAddUser");
            return (Criteria) this;
        }

        public Criteria andHAddUserLessThan(String value) {
            addCriterion("h_Add_user <", value, "hAddUser");
            return (Criteria) this;
        }

        public Criteria andHAddUserLessThanOrEqualTo(String value) {
            addCriterion("h_Add_user <=", value, "hAddUser");
            return (Criteria) this;
        }

        public Criteria andHAddUserLike(String value) {
            addCriterion("h_Add_user like", value, "hAddUser");
            return (Criteria) this;
        }

        public Criteria andHAddUserNotLike(String value) {
            addCriterion("h_Add_user not like", value, "hAddUser");
            return (Criteria) this;
        }

        public Criteria andHAddUserIn(List<String> values) {
            addCriterion("h_Add_user in", values, "hAddUser");
            return (Criteria) this;
        }

        public Criteria andHAddUserNotIn(List<String> values) {
            addCriterion("h_Add_user not in", values, "hAddUser");
            return (Criteria) this;
        }

        public Criteria andHAddUserBetween(String value1, String value2) {
            addCriterion("h_Add_user between", value1, value2, "hAddUser");
            return (Criteria) this;
        }

        public Criteria andHAddUserNotBetween(String value1, String value2) {
            addCriterion("h_Add_user not between", value1, value2, "hAddUser");
            return (Criteria) this;
        }

        public Criteria andHRemarksIsNull() {
            addCriterion("h_remarks is null");
            return (Criteria) this;
        }

        public Criteria andHRemarksIsNotNull() {
            addCriterion("h_remarks is not null");
            return (Criteria) this;
        }

        public Criteria andHRemarksEqualTo(String value) {
            addCriterion("h_remarks =", value, "hRemarks");
            return (Criteria) this;
        }

        public Criteria andHRemarksNotEqualTo(String value) {
            addCriterion("h_remarks <>", value, "hRemarks");
            return (Criteria) this;
        }

        public Criteria andHRemarksGreaterThan(String value) {
            addCriterion("h_remarks >", value, "hRemarks");
            return (Criteria) this;
        }

        public Criteria andHRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("h_remarks >=", value, "hRemarks");
            return (Criteria) this;
        }

        public Criteria andHRemarksLessThan(String value) {
            addCriterion("h_remarks <", value, "hRemarks");
            return (Criteria) this;
        }

        public Criteria andHRemarksLessThanOrEqualTo(String value) {
            addCriterion("h_remarks <=", value, "hRemarks");
            return (Criteria) this;
        }

        public Criteria andHRemarksLike(String value) {
            addCriterion("h_remarks like", value, "hRemarks");
            return (Criteria) this;
        }

        public Criteria andHRemarksNotLike(String value) {
            addCriterion("h_remarks not like", value, "hRemarks");
            return (Criteria) this;
        }

        public Criteria andHRemarksIn(List<String> values) {
            addCriterion("h_remarks in", values, "hRemarks");
            return (Criteria) this;
        }

        public Criteria andHRemarksNotIn(List<String> values) {
            addCriterion("h_remarks not in", values, "hRemarks");
            return (Criteria) this;
        }

        public Criteria andHRemarksBetween(String value1, String value2) {
            addCriterion("h_remarks between", value1, value2, "hRemarks");
            return (Criteria) this;
        }

        public Criteria andHRemarksNotBetween(String value1, String value2) {
            addCriterion("h_remarks not between", value1, value2, "hRemarks");
            return (Criteria) this;
        }

        public Criteria andHStatusIsNull() {
            addCriterion("h_status is null");
            return (Criteria) this;
        }

        public Criteria andHStatusIsNotNull() {
            addCriterion("h_status is not null");
            return (Criteria) this;
        }

        public Criteria andHStatusEqualTo(String value) {
            addCriterion("h_status =", value, "hStatus");
            return (Criteria) this;
        }

        public Criteria andHStatusNotEqualTo(String value) {
            addCriterion("h_status <>", value, "hStatus");
            return (Criteria) this;
        }

        public Criteria andHStatusGreaterThan(String value) {
            addCriterion("h_status >", value, "hStatus");
            return (Criteria) this;
        }

        public Criteria andHStatusGreaterThanOrEqualTo(String value) {
            addCriterion("h_status >=", value, "hStatus");
            return (Criteria) this;
        }

        public Criteria andHStatusLessThan(String value) {
            addCriterion("h_status <", value, "hStatus");
            return (Criteria) this;
        }

        public Criteria andHStatusLessThanOrEqualTo(String value) {
            addCriterion("h_status <=", value, "hStatus");
            return (Criteria) this;
        }

        public Criteria andHStatusLike(String value) {
            addCriterion("h_status like", value, "hStatus");
            return (Criteria) this;
        }

        public Criteria andHStatusNotLike(String value) {
            addCriterion("h_status not like", value, "hStatus");
            return (Criteria) this;
        }

        public Criteria andHStatusIn(List<String> values) {
            addCriterion("h_status in", values, "hStatus");
            return (Criteria) this;
        }

        public Criteria andHStatusNotIn(List<String> values) {
            addCriterion("h_status not in", values, "hStatus");
            return (Criteria) this;
        }

        public Criteria andHStatusBetween(String value1, String value2) {
            addCriterion("h_status between", value1, value2, "hStatus");
            return (Criteria) this;
        }

        public Criteria andHStatusNotBetween(String value1, String value2) {
            addCriterion("h_status not between", value1, value2, "hStatus");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}